window["DuniteViewModel"] = "Model.ViewModel0";
window["DuniteViewModel2"] = "Model.ViewModel0";
var Model;
(function (Model) {
    var ViewModel0 = (function () {
        function ViewModel0() { }
        ViewModel0.prototype.Apply = function (formObject) {
            var self = formObject.FaultReport;
            self.HideShow.test = ko.computed(function () {
                return (this.FaultReportType() == "11");
            }, formObject.FaultReport);
            self.HideShow.BelysningSection = ko.computed(function () {
                return (this.FaultReportType() == "1");
            }, formObject.FaultReport);
            self.HideShow.DescriptionSection = ko.computed(function () {
                return ((this.FaultReportType() != "1") && (this.FaultReportType() != "11"));
            }, formObject.FaultReport);
            self.HideShow.CarSection = ko.computed(function () {
                return (this.FaultReportType() == "11");
            }, formObject.FaultReport);
        };
        ViewModel0.prototype.Save = function () {
        };
        ViewModel0.prototype.Cancel = function () {
        };
        ViewModel0.prototype.Publish = function () {
        };
        return ViewModel0;
    })();
    Model.ViewModel0 = ViewModel0;    
})(Model || (Model = {}));
